import path from "path";
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';

export default defineConfig({
	plugins: [sveltekit()],
	resolve: {
		alias: {
			"@": path.resolve(process.cwd(), "src")
		}
	},
	define: {
		APP_VERSION: JSON.stringify(process.env.npm_package_version)
	}
});
